package com.dfcd.commonlib.retrofit;

import java.io.Serializable;

/**
 * 请求结果统一处理类
 *
 * @author zengyi
 * create at 2016/12/27 10:00
 */

public class BaseResult<T> implements Serializable {

	private String code;
	private String msg;
	private T data;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public T getData() {
		return data;
	}

	public void setResult(T data) {
		this.data = data;
	}

}